import request from '@/utils/request'

export function findHomeStat() {
  return request({
    url: '/stat/home',
    method: 'get'
  })
}
export function findSaleStat(data) {
  return request({
    url: '/stat/sale',
    method: 'get',
    params:data
  })
}
export function findStockStat(data) {
    return request({
        url: '/stat/stock',
        method: 'get',
        params:data
    })
}
export function findMemberStat(data) {
    return request({
        url: '/stat/member',
        method: 'get',
        params:data
    })
}
export function findMemberDataStat(data) {
    return request({
        url: '/stat/memberData',
        method: 'get',
        params:data
    })
}